import serial
import time


ser = serial.Serial('/dev/ttyS0', 115200)
while True:
    ser.write('hello'.encode('ascii'))
    time.sleep(1)